package com.mgface.framework.springcloud.conf;

import com.mgface.framework.springcloud.annotation.ExcludeFromComponentScan;
import com.netflix.loadbalancer.IRule;
import com.netflix.loadbalancer.RandomRule;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author wanyuxiang
 * @version 1.0
 * @project ms-mgface-framework-springcloud
 * @create 2017-04-14 12:41
 **/
@Configuration
@ExcludeFromComponentScan
public class TestConfiguration {
    @Bean
    public IRule ribbonRule() {
        return new RandomRule();
    }
}
